package com.servicesystem.servicesystem.untis.ali;

import java.util.Map;

public class AliSign {

    /**
     * @param urlPath protocol/version/namespace/name/appKey
     * @param params api请求参数map。如果api需要用户授权访问，那么必须完成授权流程，params中必须包含access_token参数
     */
    public static String getSignature(String urlPath, Map<String, String> params) {
        return CommonUtil.signatureWithParamsAndUrlPath(urlPath, params, "QZtbsGayW7");
    }
}
